#include "StdAfx.h"
#include "InputController.h"

InputController::InputController(void)
{
}

InputController::~InputController(void)
{
}

void InputController::SetKey(const string& _name, const byte _key)
{
	keys[_name] = _key;
}

byte InputController::GetKey(const string& _name)
{
	Keys::iterator find = keys.find(_name);
	if (find == keys.end())
	{
		return 0;
	}
	return find->second;
}


